package com.qk.management.service;

import com.qk.dto.course.CourseQueryDTO;
import com.qk.result.PageResult;
import com.qk.entity.Course;
import com.qk.vo.course.CourseQueryVO;

import java.util.List;

/**
 * @Author:zhengbowen
 * @Date: 2025/10/06 16:17
 * @Description: 课程管理业务逻辑
 */
public interface CourseService {
    PageResult<CourseQueryVO> selectCoursesByPage(CourseQueryDTO courseQueryDTO);

    Course selectCourseById(Integer id);

    void updateCourse(Course course);

    void insertCourse(Course course);

    void deleteCourse(Integer id);

    List<Course> selectCoursesBySubject(Integer subject);

    List<Course> selectCourses();
}
